'use strict';

angular.module('sakuraApp')
    .controller('TradeRefundDetailController', function ($scope, $stateParams, TradeRefund, User, Trade, TradeItem) {
        $scope.tradeRefund = {};
        $scope.load = function (id) {
            TradeRefund.get({id: id}, function(result) {
              $scope.tradeRefund = result;
            });
        };
        $scope.load($stateParams.id);
    });
